package com.leyou.search.service;

import com.leyou.item.dto.SpuDTO;
import com.leyou.search.entity.Goods;

public interface IndexService {
    //创建索引库
    void contextLoads();

    //导入数据到es
    void loadData();

    //SpuDTO转为Goods
    Goods buildGoods(SpuDTO spuDTO);

    //上架
    void itemUp(Long supId);
    //下架
    void itemDown(Long supId);
}
